﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SimpleData.Infrastructure.Provider;
using SimpleData.ObjectModel.Design;
using SimpleData.Infrastructure.Plugins;
using System.Reflection;

namespace SimpleData.ObjectModel.Internals
{
	/// <summary>
	/// Fornece os tipos dos campos
	/// </summary>
	internal sealed class TypeDescriptorProvider : ProviderBase<FieldTypeName, FieldTypeDescriptor>
	{
		public TypeDescriptorProvider( Plug container )
			: base( container )
		{
			this.AssemblyProbe.Add( Assembly.GetExecutingAssembly(), "Descriptor" );
		}

		//protected override IDataObjectName GetNameFrom( FieldTypeName settings )
		//{
		//    return settings;
		//}
	}

}
